#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2024/2/1 19:06
# @Author  : 作者名
# @Site    :
import requests
url= "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET"
json ={
    "grant_type":"client_credential",
    "appid":"wxca4a8c33e774ba14",
    "secret":"d186ea9a9c04ed861bb58579bed27d23"
}
response=requests.post(url=url,json=json,timeout=5)
print(response.text)
